\version "2.14.0"  % necessary for upgrading to future LilyPond versions.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% PAGE LAYOUT (MELODY ONLY)
%%%% Compare differences in the \score code below with those of the
%%%% SATB template. There aren't many.

\score {
  <<
    \new ChordNames {
      \set chordChanges = ##t
      \antiphonHarmonies
    }
    <<
    \new Staff \with {
      \consists "Mark_engraver"
      \override StaffSymbol #'width = #(lambda (grob)
        (ly:output-def-lookup (ly:grob-layout grob) 'line-width))
      \override Rest #'transparent = ##t
      \override MultiMeasureRest #'transparent = ##t
      \override Stem #'transparent = ##t %% makes stems invisible
      \override Stem #'length = #0 %% reduces length of invisible stems
    }
      <<
        \clef "treble"
        \new Voice = "sop" { \voiceOne \global \aSop }
      >>

      \new Lyrics
      \lyricsto sop \antiphonText
    >>
  >>
  \header {
  }
  \layout {
    \context { \Staff
      \remove "Time_signature_engraver"
      \override Rest #'transparent = ##t
      \override Stem #'transparent = ##t %% makes stems invisible
      \override Stem #'length = #0 %% reduces length of invisible stems
      \override StaffSpacing #'stem-spacing-correction = #-100
      \override StaffSymbol #'width = #(lambda (grob)
        (ly:output-def-lookup (ly:grob-layout grob) 'line-width))
    }
    \context { \Score
      \remove "Bar_number_engraver"
      \remove "Mark_engraver"
      \override SpacingSpanner
        #'base-shortest-duration = #(ly:make-moment 1 16)
      \override Rest #'transparent = ##t
      \override Dots #'transparent = ##t
      barAlways = ##t
      defaultBarType = ""
    }
    \context { \Lyrics
      \consists "Separating_line_group_engraver"
      \override BarLine #'transparent = ##t
      \override LyricText #'font-family = #'normal
      \override LyricSpace #'minimum-distance = #0.6
      \override StanzaNumber #'font-family = #'normal 
      \override StanzaNumber #'font-series = #'normal 
    }
    \context { \ChordNames %% for guitar chords
      \override ChordName #'font-size = #0.5
      \override ChordName #'font-family = #'normal
      \override ChordName #'stencil = #centerCN 
      \override ChordName #'extra-offset = #'(0.75 . 0.0)
    } 
  }
}